projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
79e54a1
)
Mark nil vc-follow-symlinks as safe
author
Lars Ingebrigtsen
<larsi@gnus.org>
Sat, 22 Jan 2022 15:44:25 +0000
(16:44 +0100)
committer
Lars Ingebrigtsen
<larsi@gnus.org>
Sat, 22 Jan 2022 15:44:25 +0000
(16:44 +0100)
* lisp/vc/vc-hooks.el (vc-follow-symlinks): A nil value should be
safe for file-local (bug#33264).
lisp/vc/vc-hooks.el
patch
|
blob
|
history
diff --git
a/lisp/vc/vc-hooks.el
b/lisp/vc/vc-hooks.el
index e71796b745b546bf0b64f9abcdba03b982e015c7..9c49e947810a6861a4054d6eb72b8827ead75a6c 100644
(file)
--- a/
lisp/vc/vc-hooks.el
+++ b/
lisp/vc/vc-hooks.el
@@
-143,6
+143,7
@@
visited and a warning displayed."
(const :tag "Visit link and warn" nil)
(const :tag "Follow link" t))
:group 'vc)
+(put 'vc-follow-symlinks 'safe-local-variable #'null)
(defcustom vc-display-status t
"If non-nil, display revision number and lock status in mode line.